﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartCollectionsBase.Websites.WebsiteFactorys
{
    public class MofayichuFactory : WebsiteFactory
    {
        private readonly string _domain;
        private readonly string _structurePage;
        private readonly string _categoryStructure;
        private readonly string _productStructure;
        private readonly string _pageNumberInProductStructure;
        private readonly string _nameOfProductStructure;
        private readonly string _descriptionOfProductStructure;
        private readonly string _priceOfProductStructure;
        private readonly string _imageOfProductStructure;

        public MofayichuFactory(string domain, string structurePage, string categoryStructure,
            string productStructure, string pageNumberInProductStructure, string nameOfProductStructure,
            string descriptionOfProductStructure, string priceOfProductStructure, string imageOfProductStructure)
        {
            _domain = domain;
            _structurePage = structurePage;
            _categoryStructure = categoryStructure;
            _productStructure = productStructure;
            _pageNumberInProductStructure = pageNumberInProductStructure;
            _nameOfProductStructure = nameOfProductStructure;
            _descriptionOfProductStructure = descriptionOfProductStructure;
            _priceOfProductStructure = priceOfProductStructure;
            _imageOfProductStructure = imageOfProductStructure;
        }
        public override Website GetWebsite()
        {
            return new Mofayichu(_domain, _structurePage, _categoryStructure, _productStructure, _pageNumberInProductStructure,
                _nameOfProductStructure, _descriptionOfProductStructure, _priceOfProductStructure, _imageOfProductStructure);

        }
    }
}
